home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM A / PD-ROM A.iso / HyperCard / Education / Weights & Measures / card_2905.txt < prev    next >
Encoding:
Text File  |  1991-10-27  |  11.8 KB  |  555 lines

  1. -- card: 2905 from stack: in
  2. -- bmap block id: 9236
  3. -- flags: 4000
  4. -- background id: 2785
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on opencard
  8.   hide card field 1
  9.   hide card field 3
  10.   hide card field 4
  11. end opencard
  12.  
  13.  
  14. -- part 13 (button)
  15. -- low flags: 00
  16. -- high flags: A003
  17. -- rect: left=3 top=156 right=193 bottom=157
  18. -- title width / last selected line: 0
  19. -- icon id / first selected line: 0 / 0
  20. -- text alignment: 1
  21. -- font id: 0
  22. -- text size: 12
  23. -- style flags: 0
  24. -- line height: 16
  25. -- part name: Gages
  26. ----- HyperTalk script -----
  27. on mouseUp
  28.   go card ID 7936
  29. end mouseUp
  30.  
  31.  
  32.  
  33. -- part 14 (button)
  34. -- low flags: 00
  35. -- high flags: A003
  36. -- rect: left=3 top=76 right=113 bottom=157
  37. -- title width / last selected line: 0
  38. -- icon id / first selected line: 0 / 0
  39. -- text alignment: 1
  40. -- font id: 0
  41. -- text size: 12
  42. -- style flags: 0
  43. -- line height: 16
  44. -- part name: Lengths
  45. ----- HyperTalk script -----
  46. on mouseUp
  47.   go card ID 3233
  48. end mouseUp
  49.  
  50.  
  51.  
  52. -- part 15 (button)
  53. -- low flags: 00
  54. -- high flags: A003
  55. -- rect: left=3 top=116 right=153 bottom=157
  56. -- title width / last selected line: 0
  57. -- icon id / first selected line: 0 / 0
  58. -- text alignment: 1
  59. -- font id: 0
  60. -- text size: 12
  61. -- style flags: 0
  62. -- line height: 16
  63. -- part name: Thicknesses
  64. ----- HyperTalk script -----
  65. on mouseUp
  66.   go card id 4940
  67. end mouseUp
  68.  
  69.  
  70.  
  71. -- part 16 (button)
  72. -- low flags: 00
  73. -- high flags: A003
  74. -- rect: left=2 top=196 right=233 bottom=156
  75. -- title width / last selected line: 0
  76. -- icon id / first selected line: 0 / 0
  77. -- text alignment: 1
  78. -- font id: 0
  79. -- text size: 12
  80. -- style flags: 0
  81. -- line height: 16
  82. -- part name: Areas
  83. ----- HyperTalk script -----
  84. on mouseUp
  85.   go card ID 3893
  86. end mouseUp
  87.  
  88.  
  89.  
  90. -- part 17 (button)
  91. -- low flags: 00
  92. -- high flags: A003
  93. -- rect: left=3 top=235 right=272 bottom=157
  94. -- title width / last selected line: 0
  95. -- icon id / first selected line: 0 / 0
  96. -- text alignment: 1
  97. -- font id: 0
  98. -- text size: 12
  99. -- style flags: 0
  100. -- line height: 16
  101. -- part name: Volumes
  102. ----- HyperTalk script -----
  103. on mouseUp
  104.   go card id 4511
  105. end mouseup
  106.  
  107.  
  108.  
  109. -- part 18 (button)
  110. -- low flags: 00
  111. -- high flags: A003
  112. -- rect: left=174 top=76 right=113 bottom=328
  113. -- title width / last selected line: 0
  114. -- icon id / first selected line: 0 / 0
  115. -- text alignment: 1
  116. -- font id: 0
  117. -- text size: 12
  118. -- style flags: 0
  119. -- line height: 16
  120. -- part name: Velocity
  121. ----- HyperTalk script -----
  122. on mouseUp
  123.   go card id 3708
  124. end mouseUp
  125.  
  126.  
  127.  
  128. -- part 19 (button)
  129. -- low flags: 00
  130. -- high flags: A003
  131. -- rect: left=174 top=116 right=153 bottom=328
  132. -- title width / last selected line: 0
  133. -- icon id / first selected line: 0 / 0
  134. -- text alignment: 1
  135. -- font id: 0
  136. -- text size: 12
  137. -- style flags: 0
  138. -- line height: 16
  139. -- part name: Force & Mass
  140. ----- HyperTalk script -----
  141. on mouseUp
  142.   go card 7
  143. end mouseUp
  144.  
  145.  
  146.  
  147. -- part 20 (button)
  148. -- low flags: 00
  149. -- high flags: A003
  150. -- rect: left=174 top=157 right=194 bottom=328
  151. -- title width / last selected line: 0
  152. -- icon id / first selected line: 0 / 0
  153. -- text alignment: 1
  154. -- font id: 0
  155. -- text size: 12
  156. -- style flags: 0
  157. -- line height: 16
  158. -- part name: Density
  159. ----- HyperTalk script -----
  160. on mouseUp
  161.   go card id 7196
  162. end mouseUp
  163.  
  164.  
  165.  
  166. -- part 21 (button)
  167. -- low flags: 00
  168. -- high flags: A003
  169. -- rect: left=174 top=197 right=234 bottom=328
  170. -- title width / last selected line: 0
  171. -- icon id / first selected line: 0 / 0
  172. -- text alignment: 1
  173. -- font id: 0
  174. -- text size: 12
  175. -- style flags: 0
  176. -- line height: 16
  177. -- part name: Pressure
  178. ----- HyperTalk script -----
  179. on mouseUp
  180.   go card id 7519
  181. end mouseUp
  182.  
  183.  
  184.  
  185. -- part 22 (button)
  186. -- low flags: 00
  187. -- high flags: A003
  188. -- rect: left=173 top=239 right=276 bottom=327
  189. -- title width / last selected line: 0
  190. -- icon id / first selected line: 0 / 0
  191. -- text alignment: 1
  192. -- font id: 0
  193. -- text size: 12
  194. -- style flags: 0
  195. -- line height: 16
  196. -- part name: Temperature
  197. ----- HyperTalk script -----
  198. on mouseUp
  199.   go card id 9620
  200. end mouseUp
  201.  
  202.  
  203.  
  204. -- part 24 (button)
  205. -- low flags: 00
  206. -- high flags: A003
  207. -- rect: left=345 top=116 right=153 bottom=499
  208. -- title width / last selected line: 0
  209. -- icon id / first selected line: 0 / 0
  210. -- text alignment: 1
  211. -- font id: 0
  212. -- text size: 12
  213. -- style flags: 0
  214. -- line height: 16
  215. -- part name: Power
  216. ----- HyperTalk script -----
  217. on mouseUp
  218.   go card id 9134
  219. end mouseUp
  220.  
  221.  
  222.  
  223. -- part 25 (button)
  224. -- low flags: 00
  225. -- high flags: A003
  226. -- rect: left=345 top=197 right=234 bottom=499
  227. -- title width / last selected line: 0
  228. -- icon id / first selected line: 0 / 0
  229. -- text alignment: 1
  230. -- font id: 0
  231. -- text size: 12
  232. -- style flags: 0
  233. -- line height: 16
  234. -- part name: Thermal Coductivity
  235. ----- HyperTalk script -----
  236. on mouseUp
  237.   go card id 9851
  238. end mouseUp
  239.  
  240.  
  241.  
  242. -- part 26 (button)
  243. -- low flags: 00
  244. -- high flags: A002
  245. -- rect: left=462 top=24 right=69 bottom=505
  246. -- title width / last selected line: 0
  247. -- icon id / first selected line: 0 / 0
  248. -- text alignment: 1
  249. -- font id: 0
  250. -- text size: 12
  251. -- style flags: 0
  252. -- line height: 16
  253. -- part name: Find
  254. ----- HyperTalk script -----
  255. on mouseUp
  256.   ask "Enter whole phrase or unit."
  257.   put it into ent
  258.   if ent is empty then exit mouseup
  259.   put ","&ent&"," into phr
  260.   repeat with y = 2 to the number of cards
  261.     find phr in background field 1
  262.     if true then
  263.       put the foundline into fndline
  264.       put second word of fndline into fnd
  265.       exit repeat
  266.     end if
  267.     go next card
  268.   end repeat
  269.   if fnd is not empty then
  270.     set hilite of card button fnd to true
  271.     wait 80
  272.     set hilite of card button fnd to false
  273.   else
  274.     put "("&ent&") not found" into msg box
  275.     wait 80
  276.     hide msg box
  277.   end if
  278. end mouseUp
  279.  
  280.  
  281.  
  282. -- part 27 (button)
  283. -- low flags: 00
  284. -- high flags: A003
  285. -- rect: left=346 top=237 right=274 bottom=500
  286. -- title width / last selected line: 0
  287. -- icon id / first selected line: 0 / 0
  288. -- text alignment: 1
  289. -- font id: 0
  290. -- text size: 12
  291. -- style flags: 0
  292. -- line height: 16
  293. -- part name: Miscellaneous
  294. ----- HyperTalk script -----
  295. on mouseUp
  296.   go card id 2074
  297. end mouseUp
  298.  
  299.  
  300.  
  301. -- part 28 (button)
  302. -- low flags: 00
  303. -- high flags: A003
  304. -- rect: left=344 top=75 right=112 bottom=498
  305. -- title width / last selected line: 0
  306. -- icon id / first selected line: 0 / 0
  307. -- text alignment: 1
  308. -- font id: 0
  309. -- text size: 12
  310. -- style flags: 0
  311. -- line height: 16
  312. -- part name: Moment/Torque
  313. ----- HyperTalk script -----
  314. on mouseUp
  315.   go card id 10371
  316. end mouseUp
  317.  
  318.  
  319.  
  320. -- part 32 (button)
  321. -- low flags: 00
  322. -- high flags: A003
  323. -- rect: left=345 top=157 right=194 bottom=499
  324. -- title width / last selected line: 0
  325. -- icon id / first selected line: 0 / 0
  326. -- text alignment: 1
  327. -- font id: 0
  328. -- text size: 12
  329. -- style flags: 0
  330. -- line height: 16
  331. -- part name: Work & Energy
  332. ----- HyperTalk script -----
  333. on mouseUp
  334.   go card id 8634
  335. end mouseUp
  336.  
  337.  
  338.  
  339. -- part 35 (button)
  340. -- low flags: 00
  341. -- high flags: A003
  342. -- rect: left=454 top=290 right=338 bottom=497
  343. -- title width / last selected line: 0
  344. -- icon id / first selected line: 32462 / 32462
  345. -- text alignment: 1
  346. -- font id: 0
  347. -- text size: 12
  348. -- style flags: 0
  349. -- line height: 16
  350. -- part name: Help
  351. ----- HyperTalk script -----
  352. on mouseUp
  353.   if visible of card field 1 then hide card field 1
  354.   else show card field 1
  355. end mouseUp
  356.  
  357.  
  358.  
  359. -- part 36 (field)
  360. -- low flags: 81
  361. -- high flags: 0002
  362. -- rect: left=176 top=142 right=279 bottom=477
  363. -- title width / last selected line: 0
  364. -- icon id / first selected line: 0 / 0
  365. -- text alignment: 0
  366. -- font id: 3
  367. -- text size: 12
  368. -- style flags: 0
  369. -- line height: 16
  370. -- part name: 
  371. ----- HyperTalk script -----
  372. on mouseup
  373.   hide card field 1
  374. end mouseup
  375.  
  376.  
  377. -- part 38 (field)
  378. -- low flags: 01
  379. -- high flags: 0001
  380. -- rect: left=2 top=326 right=340 bottom=219
  381. -- title width / last selected line: 0
  382. -- icon id / first selected line: 0 / 0
  383. -- text alignment: 0
  384. -- font id: 3
  385. -- text size: 9
  386. -- style flags: 0
  387. -- line height: 12
  388. -- part name: ©
  389. ----- HyperTalk script -----
  390. ¬© 1990 by John Dabbas. All rights reserved.
  391.  
  392.  
  393. -- part 39 (button)
  394. -- low flags: 00
  395. -- high flags: A003
  396. -- rect: left=2 top=273 right=322 bottom=43
  397. -- title width / last selected line: 0
  398. -- icon id / first selected line: 27056 / 27056
  399. -- text alignment: 1
  400. -- font id: 0
  401. -- text size: 12
  402. -- style flags: 0
  403. -- line height: 16
  404. -- part name: Legal
  405. ----- HyperTalk script -----
  406. on mouseUp
  407.   if visible of card field 3 then hide card field 3
  408.   else show card field 3
  409. end mouseUp
  410.  
  411.  
  412.  
  413. -- part 40 (field)
  414. -- low flags: 81
  415. -- high flags: 0007
  416. -- rect: left=8 top=175 right=278 bottom=328
  417. -- title width / last selected line: 0
  418. -- icon id / first selected line: 0 / 0
  419. -- text alignment: 0
  420. -- font id: 3
  421. -- text size: 12
  422. -- style flags: 0
  423. -- line height: 16
  424. -- part name: 
  425. ----- HyperTalk script -----
  426. On mouseup
  427.   hide card field 3
  428. end mouseup
  429.  
  430.  
  431. -- part 41 (button)
  432. -- low flags: 00
  433. -- high flags: A003
  434. -- rect: left=394 top=292 right=340 bottom=437
  435. -- title width / last selected line: 0
  436. -- icon id / first selected line: 1004 / 1004
  437. -- text alignment: 1
  438. -- font id: 0
  439. -- text size: 12
  440. -- style flags: 0
  441. -- line height: 16
  442. -- part name:  About...
  443. ----- HyperTalk script -----
  444. on mouseUp
  445.   if visible of card field 4 then hide card field 4
  446.   else show card field 4
  447. end mouseUp
  448.  
  449.  
  450.  
  451. -- part 44 (button)
  452. -- low flags: 00
  453. -- high flags: A003
  454. -- rect: left=87 top=279 right=316 bottom=241
  455. -- title width / last selected line: 0
  456. -- icon id / first selected line: 0 / 0
  457. -- text alignment: 1
  458. -- font id: 0
  459. -- text size: 12
  460. -- style flags: 0
  461. -- line height: 16
  462. -- part name: Date Calculations
  463. ----- HyperTalk script -----
  464. on mouseUp
  465.   go card id 14858
  466. end mouseUp
  467.  
  468.  
  469.  
  470. -- part 42 (field)
  471. -- low flags: 81
  472. -- high flags: 0007
  473. -- rect: left=78 top=184 right=306 bottom=412
  474. -- title width / last selected line: 0
  475. -- icon id / first selected line: 0 / 0
  476. -- text alignment: 0
  477. -- font id: 3
  478. -- text size: 12
  479. -- style flags: 0
  480. -- line height: 16
  481. -- part name: 
  482. ----- HyperTalk script -----
  483. on mouseup
  484.   hide card field 4
  485. end mouseup
  486.  
  487.  
  488. -- part contents for card part 36
  489. ----- text -----
  490. Click on any category in the
  491. this page (Weights and Measures) to go to the page of that specific category.
  492. Then click on the "Name" of the unit for which you have a value to convert and enter that value. The equivalent of this value will be calculated for each of the other available units.
  493.  
  494. -- part contents for card part 38
  495. ----- text -----
  496. ¬© 1990 by John Dabbas. All rights reserved.
  497.  
  498. -- part contents for card part 40
  499. ----- text -----
  500. Weights & Measuures is a shareware product. It is not sold on store shelves or through the mail. Try it out for two weeks. If after that time you find Weights & Measuures helpful and you decide to keep it, then you must register the copy and pay your $15 shareware fee.  If you do not want to pay the fee then you must delete the program.
  501. You may pass it on to a friend but you must not delete or alter the button "Legal" or this field.
  502. In any case, I would appreciate hearing from you about your opinion.
  503. Send the fee to:  (only checks; please.)
  504.  
  505. John Dabbas
  506. 17093 West Bernardo Dr., #206
  507. San Diego, CA 92127
  508.  
  509. Site licenses can be negotiated.
  510.  
  511. -- part contents for card part 42
  512. ----- text -----
  513. Objective:
  514.     Weights & Measures provides a convenient 
  515.     means for converting different sorts of units
  516.     within the same system of measurement as
  517.     well as to other international units (US, 
  518.     Imperial and Metric).
  519.  
  520.     By entring a value for a certain unit of
  521.     measurement, the equivalent values of all 
  522.     other available units will be calculated.
  523.   
  524.     The button and card scripts facilitate adding 
  525.     further data with ease should the user wish to
  526.     customize the stack for his specific needs.
  527.       
  528.     Persons benefiting from this program could be:
  529.       ‚Ä¢ Any person working with measurements.
  530.       ‚Ä¢ Importers and Exporters.
  531.       ‚Ä¢ Educational institutions
  532.       ‚Ä¢ Students of mathematics and physics
  533.       ‚Ä¢ Quantity surveyors.
  534.  
  535.     
  536.  
  537. -- part contents for background part 5
  538. ----- text -----
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545. -- part contents for card part 43
  546. ----- text -----
  547.  
  548. kjfg kfg ,lgf lkjlgjh k;,lg l.kf lk;fk fgljfdgj lfdjlkfdgld gldjglkdjgk gljdl jldjgldj lgjldjmhnds l.f fjhfkjhds fk\
  549.  
  550. ; klkl klj jkh jh kjhfkhkf kjhfk shfk jhfksh kfhkfhkh
  551.  
  552. hh gh ghfh hgjhf hhgf hgf hgfhgf h
  553.  
  554.  
  555.